'use strict';

const Service = require('egg').Service;

class userService extends Service {
  async getLogin(name, password, email) {
    return await this.app.mysql.get('user', { name, password, email });
  }
}

module.exports = userService;
